// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
// 自定义引入   https://www.cnblogs.com/smileTonya/p/6800887.html https://blog.csdn.net/zjl199303/article/details/82585775 https://blog.csdn.net/forget_me_not1991/article/details/53427495
import './assets/style/normalize.css'
import './assets/style/reset.css'

// 省市区三级联动
import VDistpicker from 'v-distpicker'
Vue.component('v-distpicker', VDistpicker);

import Moment from 'moment'
Vue.prototype.moment = Moment

import  VueResource  from 'vue-resource'

Vue.use(VueResource)


// 引入elementUI 进行表单验证
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)

// import myCharts from './comm/js/myCharts.js'
// Vue.use(myCharts)
// import ECharts from 'vue-echarts/components/ECharts'
// import 'echarts/lib/chart/line'
// Vue.component('chart', ECharts)

// window.router=router

require('./mock')

Vue.config.productionTip = false
// Vue.use(VueAwesomeSwiper)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
